Part Number Hot Search : 
K4145 2SK2596 UVTOP285 TB0316A MBRS1 1N6060E3 MP501 74LS28
Product Description
Full Text Search
 

To Download MAX7302 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  for pricing, delivery, and ordering information, please contact maxim direct at 1-888-629-4642, or visit maxim's website at www.maxim-ic.com. general description the MAX7302 i 2 c-/smbus-compatible, serial-interfaced peripheral features 9 level-translating i/os, and operates from a 1.62v to 3.6v power supply. the MAX7302 fea- tures a port supply v la that allows level-translation on i/o ports to operate from a separate power supply from 1.62v to 5.5v. an address select input, ad0, allows up to four unique slave addresses for the device. the MAX7302 ports p2?9 can be configured as inputs, push-pull outputs, and open-drain outputs. port p1 can be configured as a general-purpose input, open-drain output, or an open-drain int output. ports p2?9 can be configured as oscin and oscout, respectively. ports p2?9 can also be used as configurable logic arrays (clas) to form user-defined logic gates, replacing exter- nal discrete gates. outputs are capable of sinking up to 25ma, and sourcing up to 10ma when configured as push-pull outputs. the MAX7302 includes an internal oscillator for pwm, blink, and key debounce, or to cascade multiple MAX7302s. the external clock can be used to set a spe- cific pwm and blink timing. the rst input asynchronous- ly clears the 2-wire interface and terminates a bus lockup involving the MAX7302. all ports configured as an output feature a 33-step pwm, allowing any output to be set from fully off, 1/32 to 31/32 duty cycle, to fully on. all output ports also feature led blink control, allowing blink periods of 1/8s, 1/4s, 1/2s, 1s, 2s, 4s, or 8s. any port can blink during this period with a 1/16 to 15/16 duty cycle. the MAX7302 is specified over the -40? to +125? temperature range and is available in 16-pin qsop and 16-pin tqfn (3mm x 3mm) packages. applications cell phones servers system i/o ports lcd/keypad backlights led status indicators features ? 1.62v to 5.5v i/o level-translation port supply (v la ) ? 1.62v to 3.6v power supply ? 9 individually configurable gpio ports p1 open-drain i/o p2?9 push-pull or open-drain i/os ? individual 33-step pwm intensity control ? blink controls with 15 steps on outputs ? 1khz pwm period provides flicker-free led intensity control ? 25ma (max) port output sink current (100ma max ground current) ? inputs overvoltage protected up to 5.5v (v la ) ? transition detection with optional interrupt output ? optional input debouncing ? i/o ports configurable as logic gates (cla) ? external rst input ? oscillator input and output enable cascading multiple devices ? low 0.75 a (typ) standby current MAX7302 smbus/i 2 c interfaced 9-port, level-translating gpio and led driver with cla ________________________________________________________________ maxim integrated products 1 ordering information 19-0749; rev 0; 7/07 pin configurations appear at end of data sheet. smbus is a trademark of intel corp. part temp range pin- package pkg code MAX7302aee+ -40? to +125? 16 qsop e16-4 MAX7302ate+ -40? to +125? 16 tqfn-ep* (3mm x 3mm) t1633-4 + denotes lead-free package. * ep = exposed paddle. ado c sda gnd +1.8v v dd v la p2 p3 p4 p5 1.8v open-drain output p6 p7 p8 p9 +4.5v MAX7302 4.5v push-pull output 4.5v logic input 3.3v logic input 2.5v logic input scl rst int sda scl rst p1/int typical operating circuit
MAX7302 smbus/i 2 c interfaced 9-port, level-translating gpio and led driver with cla 2 _______________________________________________________________________________________ absolute maximum ratings electrical characteristics (v dd = 1.62v to 3.6v, t a = t min to t max , unless otherwise noted. typical values are at v dd = 3.3v, v la = 3.3v, t a = +25?.) (note 1) stresses beyond those listed under ?bsolute maximum ratings?may cause permanent damage to the device. these are stress rating s only, and functional operation of the device at these or any other conditions beyond those indicated in the operational sections of the specificatio ns is not implied. exposure to absolute maximum rating conditions for extended periods may affect device reliability. (all voltages referenced to gnd.) v dd ..........................................................................-0.3v to +4v v la , scl, sda, ad0, rst , p1..................................-0.3v to +6v p2?9 ............................................................-0.3v to v la + 0.3v p1?9 sink current ............................................................25ma p2?9 source current ........................................................10ma sda sink current ...............................................................10ma v dd current .......................................................................10ma v la current ........................................................................35ma gnd current ....................................................................100ma continuous power dissipation (t a = +70?) 16-pin qsop (derate 8.3mw/? over +70?)..............666mw 16-pin tqfn (derate 14.7mw/? over +70?) ..........1176mw operating temperature range .........................-40? to +125? junction temperature ......................................................+150? storage temperature range .............................-65? to +150? lead temperature (soldering, 10s) .................................+300? parameter symbol conditions min typ max units operating supply voltage v dd 1.62 3.60 v port logic supply voltage v la 1.62 5.50 v power-on-reset voltage v por v dd rising 1.0 1.3 1.6 v power-on-reset hysteresis v porhyst 10 158 300 mv i stb internal oscillator disabled; scl, sda, digital inputs at v dd or gnd; p1?9 (as inputs) at v la or gnd 0.75 2 standby current (interface idle) i osc internal oscillator enabled; scl, sda, digital inputs at v dd or gnd; p1?9 (as inputs) at v la or gnd 17 25 ? s up p l y c ur r ent ( inter face runni ng ) i sup f scl = 400khz; other d i g i tal i np uts at v dd or g n d 31 40 ? port supply current (v la )i vla port inputs at v la or gnd 0.06 5 a input high voltage sda, scl, ad0, rst v ih 0.7 x v dd v input low voltage sda, scl, ad0, rst v il 0.3 x v dd v input high voltage p1?9 v ihp input is v dd referred 0.7 x v dd v input low voltage p1?9 v ilp input is v dd referred 0.3 x v dd v input high voltage p1?9 v ihpa input is v la referred 0.7 x v la v input low voltage p1?9 v ilpa input is v la referred 0.3 x v la v inp ut leakag e c ur r ent s d a, s c l, ad 0, rst i ih , i il v dd or gnd -1 +1 ? input leakage current p1?9 i ihp , i ilp v la or gnd -2 +2 ? input capacitance sda, scl, ad0, p1?9, rst 8pf v dd = 1.62v, i sink = 3ma 0.05 0.11 v dd = 2.5v, i sink = 16ma 0.19 0.31 output low voltage p1?9 v ol v dd = 3.3v, i sink = 20ma 0.19 0.31 v v la = 1.62v, i source = 0.5ma 1.55 1.58 v la 2.5v, i source = 5ma v la - 0. 4 2.32 output high voltage p2?9 v oh v la 3.3v, i source = 10ma v la - 0.6 3.1 v output low voltage sda v olsda i sink = 6ma 0.3 v
MAX7302 smbus/i 2 c interfaced 9-port, level-translating gpio and led driver with cla _______________________________________________________________________________________ 3 port, interrupt ( int ), and reset ( rst ) timing characteristics (v dd = 1.62v to 3.6v, t a = t min to t max , unless otherwise noted. typical values are at v dd = 3.3v, v la = 3.3v, t a = +25?.) (note 1) (figures 10, 15, 16 and 17) parameter symbol conditions min typ max units f clk = internal oscillator 32 khz oscillator frequency f clk f c lk = os c in exter nal i np ut 1 mhz port output data valid high time t ppvh c l 100pf 4 s port output data valid low time (note 6) t ppvl c l 100pf (note 2) 1 / f clk s port input setup time t psu c l = 100pf 0 s port input hold time t ph c l = 100pf 4 s cla rise time p5, p9 as push-pull outputs 17 cla fall time p5, p9 as push-pull outputs t rfcla c l = 100pf, v la 2.7v 14 ns cla propagation delay p2, p3, or p4 to p5; p6, p7, or p8 to p9 t pdcla c l = 100pf, v la 2.7v 28 50 ns int input data valid time t iv c l = 100pf 4 s int reset delay time from acknowledge t ir c l = 100pf 4 s rst rising to start condition setup time t rst 900 ns rst pulse width t w 500 ns serial interface timing characteristics (v dd = 1.62v to 3.6v, t a = t min to t max , unless otherwise noted. typical values are at v dd = 3.3v, v la = 3.3v, t a = +25?.) (note 1) (figure 10) parameter symbol conditions min typ max units serial-clock frequency f scl 400 khz bus timeout t timeout 31 ms bus fr ee tim e betw een a s top and a s tart c ond i ti on t buf 1.3 ? hold time, (repeated) start condition t hd , sta 0.6 ? repeated start condition setup time t su , sta 0.6 ? stop condition setup time t su , sto 0.6 ? data hold time t hd , dat (note 3) 0.9 ? data setup time t su , dat 100 ns scl clock low period t low 1.3 ? scl clock high period t high 0.7 ? rise time of both sda and scl signals, receiving t r (notes 2, 4) 20 + 0.1c b 300 ns fall time of both sda and scl signals, receiving t f (notes 2, 4) 20 + 0.1c b 300 ns fall time of sda transmitting t f.tx (note 4) 20 + 0.1c b 250 ns pulse width of spike suppressed t sp (note 5) 50 ns c ap aci ti ve load for e ach bus li ne c b (note 2) 400 pf note 1: all parameters are tested at t a = +25?. specifications over temperature are guaranteed by design. note 2: guaranteed by design. note 3: a master device must provide a hold time of at least 300ns for the sda signal (referred to v il of the scl signal) to bridge the undefined region of scl? falling edge. note 4: c b = total capacitance of one bus line in pf. t r and t f are measured between 0.3 x v dd and 0.7 x v dd . note 5: input filters on the sda and scl inputs suppress noise spikes less than 50ns. note 6: a startup time is required for the internal oscilator to start if it is not running already.
MAX7302 smbus/i 2 c interfaced 9-port, level-translating gpio and led driver with cla 4 _______________________________________________________________________________________ typical operating characteristics (v dd = 3.3v, v la = 3.3v and t a = +25?, unless otherwise noted.) standby current vs. temperature MAX7302 toc01 temperature ( c) supply current ( a) 100 75 25 50 0 -25 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6 1.8 2.0 0 -50 125 interface idle internal oscillator disabled v dd = 3.6v v dd = 1.62v v dd = 3.3v standby current vs. temperature MAX7302 toc02 temperature ( c) supply current ( a) 100 75 25 50 0 -25 4 8 12 16 20 0 -50 125 interface idle internal oscillator running v dd = 3.6v v dd = 1.62v v dd = 3.3v standby current vs. temperature MAX7302 toc03 temperature ( c) supply current ( a) 100 75 25 50 0 -25 10 20 30 40 50 60 70 80 90 100 0 -50 125 interface running v dd = 3.6v v dd = 1.62v v dd = 3.3v v ol vs. temperature MAX7302 toc04 temperature ( c) v ol (v) 100 75 50 25 0 -25 0.06 0.12 0.18 0.24 0.30 0 -50 125 load current = 20ma v dd = 3.3v v ol vs. i sink MAX7302 toc05 i sink (ma) v ol (v) 30 25 20 15 10 5 0.1 0.2 0.3 0.4 0 035 v dd = 3.3v v dd = 1.62v v oh vs. temperature MAX7302 toc06 temperature ( c) v oh (v) 100 75 50 25 0 -25 0.6 1.2 1.8 2.4 3.0 3.6 0 -50 125 load current = 10ma v dd = 3.6v v dd = 3.3v v oh vs. i source MAX7302 toc07 i source (ma) v oh (v) 10 8 2 4 6 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 0 012 v la = 3.6v v la = 1.62v v la = 3.3v internal oscillator frequency vs. temperature MAX7302 toc08 temperature ( c) frequency (khz) 100 75 50 25 0 -25 35 40 45 30 -50 125 v dd = 3.3v v dd = 3.6v v dd = 1.62v
MAX7302 smbus/i 2 c interfaced 9-port, level-translating gpio and led driver with cla _______________________________________________________________________________________ 5 staggered pwm outputs MAX7302 toc09 400 s/div port2 5v/div port3 5v/div port5 5v/div port4 5v/div typical operating characteristics (continued) (v dd = 3.3v, v la = 3.3v and t a = +25?, unless otherwise noted.) cla propagation delay output rising MAX7302 toc10 40ns/div port2 2v/div port3 2v/div port5 2v/div c l = 100pf MAX7302 toc11 40ns/div cla propagation delay output falling port2 2v/div port3 2v/div port5 2v/div c l = 100pf
MAX7302 smbus/i 2 c interfaced 9-port, level-translating gpio and led driver with cla 6 _______________________________________________________________________________________ pin description pin qsop tqfn name function 115v la port supply for p1?9. connect v la to a power supply between 1.62v and 5.5v. bypass v la to gnd with a 0.047? ceramic capacitor. 2 16 ad0 address input. sets the device slave address. connect to gnd, v dd , scl, or sda to provide four address combinations. 31 rst reset inp ut. rst i s an acti ve- l ow i np ut, r efer enced to v dd , that cl ear s the 2- w i r e i nter face and can b e confi g ur ed to p ut the d evi ce i n the p ow er - up r eset and /or to r eset the p w m and b l i nk ti m i ng . 4 2 p1/ int input/output port. p1/ int is a general-purpose i/o that can be configured as a transition detection interrupt output. 5 3 p2/oscin input/output port. p2/oscin is a general-purpose i/o that can be configured as the oscillator input for pwm and blink features. 6 4 p3/oscout input/output port. p3/oscout is a general-purpose i/o that can be configured as the pwm/blink/timing oscillator output for pwm and blink features. 7, 8, 9, 11, 12, 13 5, 6, 7, 9, 10, 11 p4?9 input/output ports. p4?9 are general-purpose i/os. 10 8 gnd ground 14 12 scl serial-clock input 15 13 sda serial-data i/o 16 14 v dd positive supply voltage. bypass v dd to gnd with a 0.047? ceramic capacitor. ep ep exposed paddle on package underside. connect to gnd.
MAX7302 smbus/i 2 c interfaced 9-port, level-translating gpio and led driver with cla _______________________________________________________________________________________ 7 detailed description the MAX7302 9-port, general-purpose port expander operates from a 1.62v to 3.6v power supply. port p1 can be configured as an input and an open-drain out- put. port p1 can also be configured to function as an int output. ports p2?9 can be configured as inputs, push-pull outputs, and open-drain outputs. ports p2?9 can be used as simple configurable logic arrays (clas) to form user-defined logic gates. each port configured as an open-drain or push-pull output can sink up to 25ma. push-pull outputs also have a 5ma source drive capability. the MAX7302 is rated to sink a total of 100ma into any combination of its output ports. output ports have pwm and blink capabilities, as well as logic drive. initial power-up on power-up, the MAX7302 default configuration has all 9 ports, p1?9, configured as input ports with logic lev- els referenced to v la . the transition detection interrupt status flag resets and stays high (see tables 1 and 2). device configuration registers the device configuration registers set up the interrupt function, serial-interface bus timeout, and pwm/blink oscillator options, global blink period, and reset options (see tables 3 and 4). i 2 c output logic i/o i/o control register bank cla input logic p1?9 v la v dd scl ad0 gnd rst sda MAX7302 block diagram
MAX7302 smbus/i 2 c interfaced 9-port, level-translating gpio and led driver with cla 8 _______________________________________________________________________________________ register address autoincrement address por state port p1 or int output 0x01 0x02 0x80 port p2 or oscin input 0x02 0x03 0x80 port p3 or oscout output 0x03 0x04 0x80 port p4 0x04 0x05 0x80 port p5 0x05 0x06 0x80 port p6 0x06 0x07 0x80 port p7 0x07 0x08 0x80 port p8 0x08 0x09 0x80 port p9 0x09 0x0a or 0x4a 0x80 configuration 26 0x26 0x27 0xec configuration 27 0x27 0x28 0x8f ports p2?5 configurable logic cla0 0x28 0x29 0x00 ports p6?9 configurable logic cla1 0x29 0x2a 0x00 write ports p2?5 same data; read p2 0x3c 0x3d 0x80 write ports p6?9 same data; read p6 0x3d 0x3e 0x80 factory reserved (do not write to these registers) 0x3c?x3f 0x3f?x40 0x00 cla0 and cla1 configurable logic enable 0x70 0x71 0x00 cla0 and cla1 configurable logic lock 0x71 0x72 0x00 configuration 67 lock, ports p1?5 lock 0x72 0x73 0x00 ports p6?9 lock 0x73 0x74 0xf0 factory reserved (do not write to these registers) 0x00 0x01 0x80 table 1. register address map register data register power-up condition address code (hex) d7 d6 d5 d4 d3 d2 d1 d0 ports p1?9 ports p_ are v la -referred input ports with interrupt and debounce disabled 0x01?x09 1 0 0 0 0 0 0 0 configuration 26 rs t d oes not r eset r eg i ster s or counters; b l i nk p er i od i s 1h z; tr ansi ti on fl ag cl ear ; i nterr up t status fl ag cl ear 0x26 1110110 0 configuration 27 ports p1?9 are gpio ports; bus timeout is disabled 0x27 1000111 1 ports cla0 to cla1 default gate structure 0x28?x29 0 0 0 0 0 0 0 0 cla0 to cla1 cla not enable 0x70 0000000 0 configuration 27 lock, ports p1?5 lock configuration 27 is not locked; ports p1?5 are not locked 0x72 0000000 0 ports p6?9 lock ports p6?9 are not locked 0x73 1111000 0 table 2. power-up register status
MAX7302 smbus/i 2 c interfaced 9-port, level-translating gpio and led driver with cla _______________________________________________________________________________________ 9 register bit description value function 0 enables the bus timeout feature. d7 bus timeout 1 disables the bus timeout feature. 0 reserved d6, d5, d4 reserved 1 reserved 0 sets p3 to output the oscillator. d3 p3/oscout 1* sets p3 as a gpio controlled by register 0x03. 0 sets p2 as the oscillator input. d2 p2/oscin 1* sets p2 as a gpio controlled by register 0x02. 0 sets p1 as the interrupt output. d1 p1/int output 1 sets p1 as a gpio controlled by register 0x01. d0 input transition 0 set to 0 on power-up to detect transition on inputs. table 4. configuration register (0x27) register bit description value function 0 an interrupt has occurred on at least one interrupt enabled input port. d7 interrupt status flag (read only) 1* no interrupt has occurred on an interrupt enabled input port. 0 a transition has occurred on an input port. d6 transition flag (read only) 1* no transition has occurred on an input port. d5 reserved reserved d4, d3, d2 blink prescalor bits 0/1 blink timer bits, see table 10. 0* rst does not reset counters pwm/blink d1 rst timer 1 rst resets pwm/blink counters 0* rst does not reset registers to power-on-reset state. d0 rst por 1 rst resets registers to power-on-reset state. table 3. configuration register (0x26) * default state. * default state.
MAX7302 smbus/i 2 c interfaced 9-port, level-translating gpio and led driver with cla 10 ______________________________________________________________________________________ slave address the MAX7302 is set to one of four i 2 c slave addresses, using the address input ad0 (see table 5) and is accessed over an i 2 c or smbus serial interface up to 400khz. the MAX7302 slave address is determined on each i 2 c transmission, regardless of whether or not the transmission is actually addressing the device. the MAX7302 distinguishes whether address input ad0 is connected to sda, scl, v dd , or gnd during the trans- mission. therefore, the MAX7302 slave address can be configured dynamically in an application without tog- gling the device supply. i/o port registers the port i/o registers set the i/o ports, one register per port (see tables 6 and 7). ports can be independently configured as inputs or outputs (d7), push-pull or open drain (d6). port p1 can only be configured as an input or an open-drain output. the push-pull bit (d6) setting for the port i/o register p1 is ignored. i/o input port configure a port as an input by writing a logic-high to the msb (bit d7) of the port i/o register (see table 6). see figure 1 for input port structure. to obtain the logic level of the port input, read the port i/o register bit, d0. this readback value is the instantaneous logic level at the time of the read request if debounce is disabled for the port (port i/o register bit d2 = 0), or the debounced result if debounce is enabled for the port (port i/o reg- ister bit d2 = 1). i/o output port configure a port as an output by writing a logic-low to the msb (bit d7) of the port i/o register. see figures 2 and 3 for output port structure. the device reads back the logic level, pwm, or the blink setting of the port (see table 7). the MAX7302 monitors the logic level of ports configured as cla outputs (see the configurable logic array (cla) section). port supplies and level translation the port supply, v la , provides the logic supplies to all push-pull i/o ports. ports p2?9 can be configured as push-pull i/o ports (see figure 3). v la powers the logic- high port output voltage sourcing the logic-high port load current. v la provides level translation capability for the outputs and operates over a 1.62v to 5.5v voltage inde- pendent of the MAX7302 power-supply voltage, v dd . each port set as an input can be configured to switch midrail of either the v dd or the v la port supplies. whenever the port supply reference is changed from v dd to v la , or vice versa, read the port register to clear any transition flag on the port. register bit description value function d7 port i/o set bit 1 sets the i/o port as an input. 0 refers the input to the v la supply voltage. d6 port supply reference 1 refers the input to the v dd supply voltage. 0 disables the transition interrupt. d5 transition interrupt enable 1 enables the transition interrupt. d4, d3 reserved bits 0 do not write to these registers. 0 disables debouncing of the input port. d2 debounce 1 enables debouncing of the input port. 0 no transition has occurred since the last port read. d1 port transition state (read only) 1 a transition has occurred since the last port read. 0 port input is logic-low. d0 port status (read only) 1 port input is logic-high. table 6. port i/o registers (i/o port set as an input, registers 0x01/0x41 to 0x09/049) ad0 connection a6 a5 a4 a3 a2 a1 a0 r w 1 gnd v dd scl sda 001100 1001101 1001110 1001111 0 1 0 1 0 1 0 1 device address table 5. slave address selection
MAX7302 smbus/i 2 c interfaced 9-port, level-translating gpio and led driver with cla ______________________________________________________________________________________ 11 debounce logic transition detection transition detection i/o port_ [4:3] 0 1 port_ [2] (debounce) interrupt logic int int2 int9 int port_ [5] interrupt enable port_ [0] (portin) port_ [6] (threshold select) v dd v la figure 1. input port structure register bit description value function d7 port i/o set bit 0 sets the i/o port as an output. 0 sets the output type to open drain. d6 output port set to push-pull or open drain 1 sets the output type to push-pull. 0 sets the output to pwm mode. d5 pwm/blink enable 1 sets the output to blink mode. d4 duty-cycle bit 4 0/1 msb of the 5-bit duty-cycle setting. see tables 9 and 11. d3 duty-cycle bit 3 0/1 bit 3 of the 5-bit duty-cycle setting. see tables 9 and 11. d2 duty-cycle bit 2 0/1 bit 2 of the 5-bit duty-cycle setting. see tables 9 and 11. d1 duty-cycle bit 1 0/1 bit 1 of the 5-bit duty-cycle setting. see tables 9 and 11. d0 duty-cycle bit 0 0/1 lsb of the 5-bit duty-cycle setting. see tables 9 and 11. table 7. port i/o registers (i/o port set as an output, registers 0x01 to 0x09)
MAX7302 smbus/i 2 c interfaced 9-port, level-translating gpio and led driver with cla 12 ______________________________________________________________________________________ ports p2?9 are overvoltage protected to v la . this is true even for a port used as an input with a v dd port logic- input threshold. port p1 is overvoltage protected to 5.5v, independent of v dd and v la (see figure 3). to mix logic outputs with more than one voltage swing on a group of ports using the same port supply, set the port supply volt- age (v la ) to be the highest output voltage. use push-pull outputs and port p1 for the highest voltage ports, and use open-drain outputs with external pullup resistors for the lower voltage ports. when p2?9 are acting as inputs ref- erenced to v dd , make sure the v la voltage is greater than v dd - 0.3v. port lock registers use the port lock registers to lock any combination of port i/o register functionality (see table 8). the port lock registers are unlocked on power-up or by configur- ing the rstpor bit to reset to por value. the bits in the port lock register can only be written to once. after setting a bit to logic-high, the bit can only be cleared by powering off the device. when a bit position in the port lock register is set, the corresponding port i/o registers cannot change. when a port i/o register is locked as an output, none of its output register settings can change. when a port i/o register is locked as an input, only bits d0 and d1 can change, and the locked input behaviour options, such as debounce and transition detection, operate as normal. input debounce the MAX7302 samples the input ports every 31ms if input debouncing is enabled for an input port (d2 = 1 of the port i/o register). the MAX7302 compares each new sample with the previous sample. if the new sam- ple and the previous sample have the same value, the corresponding internal register updates. when the port input is read through the serial interface, the MAX7302 does not return the instantaneous value of the logic level from the port because debounce is active. instead, the MAX7302 returns the stored debounced input signal. select v+ v la input port p1 output p1 p2?9 select v+ v la input port p2?9 output figure 3. port i/o structure i/o port_ [5] 0 1 clock 5-bit pwm 4-bit blink 3-bit prescaler port_ [3:0] port_ [4:0] config26 [4:2] figure 2. output port structure
MAX7302 smbus/i 2 c interfaced 9-port, level-translating gpio and led driver with cla ______________________________________________________________________________________ 13 when debouncing is enabled for a port input, transition detection applies to the stored debounced input signal value, rather than to the instantaneous value at the input. this process allows for useful transition detection of noisy signals, such as keyswitch inputs, without causing spurious interrupts. port input transition detection and interrupt any transition on ports configured as inputs automatically set the d1 bit of that port? i/o registers high. any input can be selected to assert an interrupt output indicating a transi- tion has occurred at the input port(s). the MAX7302 sam- ples the port input (internally latched into a snapshot register) during a read access to its port p_ i/o register. the MAX7302 continuously compares the snapshot with the port? input condition. if the device detects a change for any port input, an internal transition flag sets for that port. read register 0x26 to clear the interrupt, then read all the port i/o registers (0x01 to 0x09) by initiating a burst read to clear the MAX7302? internal transition flag. note that when debouncing is enabled for a port input, transition detection applies to the stored debounced input signal value, rather than to the instantaneous value at the input. transition bits d4 and d3 must be set to 0 to detect the next rising or falling edge on the input port p_. the MAX7302 allows the user to select the input port(s) that cause an interrupt on the int output. set int for each port by using the intenable bit (bit d5) in each port p_ register. the appropriate port? transition flag always sets when an input changes, regardless of the port? intenable bit settings. the intenable bits allow processor interrupt only on critical events, while the inputs and the transition flags can be polled periodical- ly to detect less critical events. when debounce is disabled, signal transtions between the 9th and 11th falling edges of clock will not be regis- tered since the transition is detected and cleared at the same read cycle. ports configured as outputs do not feature transition detection, and therefore, cannot cause an interrupt. the exception to this rule is the cla outputs. the int output never reasserts during a read sequence because this process could cause a recursive reentry into the interrupt service routine. instead, if a data change occurs during the read that would normally set the int output, the interrupt assertion is delayed until the stop condition. if the changed input data is read before the stop condition, a new interrupt is not required and not asserted. the int bit and int output (if selected) have the same value at all times. transition flag the transition bit in device configuration register 0x26 is a nor of all the port i/o registers?individual transition bits. a port i/o register? transition bit sets when that port is set as an input, and the input changes from the port? i/o registers last read through the serial interface. a port? individual transition bit clears by reading that port? i/o register. the transition flag of configuration register 0x26 is only cleared after reading all port i/o registers on which a transition has occurred. rst input the active-low rst input operates as a hardware reset which voids any on-going i 2 c transaction involving the MAX7302. this feature allows the MAX7302 supply cur- rent to be minimized in power critical applications by effectively disconnecting the MAX7302 from the bus. rst also operates as a chip enable, allowing multiple devices to use the same i 2 c slave address if only one MAX7302 has its rst input high at any time. rst can be configured to restore all port registers to the power- up settings by setting bit d0 of device configuration reg- ister 0x26 (table 1). rst can also be configured to reset the internal timing counters used for pwm and blink by setting bit d1 of device configuration register 0x26. when rst is low, the MAX7302 is forced into the i 2 c stop condition. the reset action does not clear the interrupt output int . the rst input is referenced to v dd and is overvoltage tolerant up to the supply voltage, v la . register data address code d7 d6 d5 d4 d3 d2 d1 d0 0x72 port p5 port p4 port p3 port p2 port p1 configuration register 0x27 0 0x73 port p9 port p8 port p7 port p6 table 8. port lock registers
MAX7302 smbus/i 2 c interfaced 9-port, level-translating gpio and led driver with cla 14 ______________________________________________________________________________________ int output port p1 can be configured as a latching interrupt out- put, int , that flags any transients on any combination of selected ports configured as inputs. configurable logic gate outputs can also be monitored as readback inputs with the same options as normal i/o port inputs. any transitions occurring at the selected inputs assert int low to alert the host processor of data changes at the selected inputs. reset int by reading any ports i/o registers (0x01 to 0x09). standby mode upon power-up, the MAX7302 enters standby mode when the serial interface is idle. if any of the pwm intensity control, blink, or debounce features are used, the operating current rises because the internal pwm oscillator is running and toggling counters. when using oscin to override the internal oscillator, the operating current varies according to the frequency at oscin. when the serial interface is active, the operating cur- rent also increases because the MAX7302, like all i 2 c slaves, has to monitor every transmission. the bus timeout and debounce circuits use the internal oscilla- tor even if oscin is selected. internal oscillator and oscin/oscout external clock options the MAX7302 contains an internal 32khz oscillator. the MAX7302 always uses the internal oscillator for bus timeout and for debounce timing (when enabled). it is used by default to generate pwm and blink timing. the internal oscillator only runs when the clock output oscout is needed to keep the operating current as low as possible. the MAX7302 can use an external clock source instead of the internal oscillator for the pwm and blink timing. the external clock can range from dc to 1mhz, and it connects to the p2/oscin port. the p3/oscout port provides a buffered and level-shifted output of the inter- nal oscillator or external clock to drive other devices. select the p2/oscin and p3/oscout port options using the device configuration register 0x67 bits d2 and d3 (see table 4). the p2/oscin port is overvoltage protected to supply voltage v la , so the external clock can exceed v dd if v la is greater than v dd . the port p2 register (see tables 2 and 6) sets the p2/oscin logic threshold (30%/70%) to either the v dd supply or the v la . use oscout or an external clock source to cascade up to four MAX7302s per master for applications requir- ing additional ports. to synchronize the blink action across multiple MAX7302s (see figures 4 and 5), use oscout from one MAX7302 to drive oscin of the other MAX7302s. this process ensures the same blink frequency of all the devices, but also make sure to syn- chronize the blink phase. the blink timing of multiple MAX7302s is synchronous at the instant of power-up because the blink and pwm counters clear by each MAX7302? internal reset circuit, and by default the MAX7302s?internal oscillators are off upon power-up. ensure that the blink phase of all the devices remains synchronized by programming the oscin and oscout functionality before programming any feature that causes a MAX7302? internal oscillator to operate (blink, pwm, bus timeout, or key debounce). configure the rst input to reset the internal timing counters used for pwm and blink by setting bit d1 of device configu- ration register 0x26 (see table 3). pwm and blink timing the MAX7302 divides the 32khz nominal internal oscilla- tor osc or external clock source oscin frequency by 32 to provide a nominal 1khz pwm frequency. use the reset MAX7302 p2/oscin p2/oscin p3/oscout p2/oscin p3/oscout p2/oscin p3/oscout MAX7302 MAX7302 MAX7302 MAX7302 MAX7302 figure 4. synchronizing multiple MAX7302s (internal oscillator)
MAX7302 smbus/i 2 c interfaced 9-port, level-translating gpio and led driver with cla ______________________________________________________________________________________ 15 function to synchronize multiple MAX7302s that are oper- ating from the same oscin, or to synchronize a single MAX7302? blink timing to an external event. configure the rst input to reset the internal timing counters used by pwm and blink by setting bit d1 of the device configura- tion register 0x26 (see table 3). the MAX7302 uses the internal oscillator by default. configure port p2 using device configuration register 0x27 bit d2 (see table 4) as an external clock source input, oscin, if the application requires a particular or more accurate timing for the pwm or blink functions. oscin only applies to pwm and blink; the MAX7302 always uses the internal oscillator for debouncing and bus timeout. oscin can range up to 1mhz. use device configuration register 0x27 bit d3 (see table 4) to con- figure port p3 as oscout to output a MAX7302? clock. the MAX7302 buffers the clock output of either the internal oscillator osc or the external clock source oscin, according to port d2? setup. synchronize mul- tiple MAX7302s without using an external clock source input by configuring one MAX7302 to generate oscout from its internal clock, and use this signal to drive the remaining MAX7302s?oscin. a pwm period contains 32 cycles of the nominal 1khz pwm clock (see figure 6). set ports individually to a pwm duty cycle between 0/32 and 31/32. for static logic-level low output, set the ports to 0/32 pwm, and for static logic-level high output, set the port register to 0111xxxx (see table 9). the MAX7302 staggers the pwm timing of the 9-port outputs, in single or dual ports, by 1/8 of the pwm period. these phase shifts distribute the port-output switching points across the pwm period (see figure 7). this staggering reduces the di/dt output-switching transient on the supply and also reduces the peak/mean current requirement. all ports feature led blink control. a global blink period of 1/8s, 1/4s, 1/2s, 1s, 2s, 4s, or 8s applies to all ports (see table 10). any port can blink during this period with a 1/16 to 15/16 duty cycle, adjustable in 1/16 increments (see table 11). for pwm fan control, the MAX7302 can set the blink frequency to 32hz. p2/oscin external oscillator external oscillator 0 to 1mhz p2/oscin p2/oscin p2/oscin p3/oscout 0 to 1mhz p2/oscin p3/oscout p2/oscin MAX7302 MAX7302 MAX7302 MAX7302 MAX7302 MAX7302 figure 5. synchronizing multiple MAX7302s (external clock) register data pwm settings d7 d6 d5 d4 d3 d2 d1 d0 port p_ is a static logic-level low output port 0 x 0 0 0 0 0 0 port p_ is a pwm output port; pwm duty cycle is 1/32 0 x 0 0 0 0 0 1 port p_ is a pwm output port; pwm duty cycle is 2/32 0 x 0 0 0 0 1 0 port p_ is a pwm output port; pwm duty cycle is 3/32 0 x 0 0 0 0 1 1 port p_ is a pwm output port; pwm duty cycle is 4/32 0 x 0 0 0 1 0 0 port p_ is a pwm output port; pwm duty cycle is 30/32 0 x 0 1 1 1 1 0 port p_ is a pwm output port; pwm duty cycle is 31/32 0 x 0 1 1 1 1 1 port p_ is a static logic-level high output port 0 1 1 1 x x x x table 9. pwm settings on output port
MAX7302 smbus/i 2 c interfaced 9-port, level-translating gpio and led driver with cla 16 ______________________________________________________________________________________ high-z low high-z low high-z low output low 31/32 duty pwm high-z low high-z low high-z low output low 30/32 duty pwm output static low (static logic-low output or led drive on) output low 2/32 duty pwm 0b0x000000 output static high (static logic-high output or led drive off) high-z low output low 3/32 duty pwm high-z low output low 29/32 duty pwm port register value 977 s nominal pwm period (1024hz period) 0b0x000010 0b0x000011 0b0x011101 0b0x011110 0b0x011111 0b0111xxxx 0b0x000001 output low 1/32 duty pwm figure 6. static and pwm port output waveforms 012 977 s nominal pwm period output p8 345678 output p8 output p8 outputs p1, p9 outputs p1, p9 outputs p1, p9 output p2 output p2 output p2 output p3 outputp3 output p3 output p4 output p4 output p5 output p5 output p6 output p6 output p7 output p7 next pwm period next pwm period figure 7. staggered pwm phasing between port outputs
MAX7302 smbus/i 2 c interfaced 9-port, level-translating gpio and led driver with cla ______________________________________________________________________________________ 17 register data pwm settings d7 d6 d5 d4 d3 d2 d1 d0 port p_ is a static logic-level low output port 0 x 1 00000 port p_ is a pwm output port; pwm duty cycle is 1/16 0 x 1 00001 port p_ is a pwm output port; pwm duty cycle is 2/16 0 x 1 00010 port p_ is a pwm output port; pwm duty cycle is 3/16 0 x 1 00100 port p_ is a pwm output port; pwm duty cycle is 14/16 0 x 1 0 1 1 1 0 port p_ is a pwm output port; pwm duty cycle is 15/16 0 x 1 0 1 1 1 1 port p_ is a static logic-level high output port (32/32) 0 1 1 1 x x x x table 11. blink settings on output ports register bit function d5 d4 d3 d2 d1 d0 xor noninverted 00 xor p3 inverted 10 xor p2 inverted 01 xor both ports inverted 01x 1 x 1 3 input and/or all noninverted 0 0 0 3 input and/or p2 inverted 0 0 1 3 input and/or p3 inverted 0 1 0 3 input and/or p4 inverted 0 1 1 3 input and/or p2 and p3 inverted 1 0 0 3 input and/or p2 and p4 inverted 1 0 1 3 input and/or p3 and p4 inverted 1 1 0 3 input and/or all inverted 1 1 1 1 1 1 table 12. cla0 (p2?5) configuration register setting (0x28) device configuration register 0x26 blink or pwm setting bit d4 blink2 bit d3 blink1 bit d2 blink0 blink or pwm frequency (32khz internal oscillator) (hz) blink or pwm frequency (0 to 1mhz external oscillator) bl i nk p er i od i s 8s ( 0.125h z) 0 0 0 0.125 oscin / 262,144 blink period is 4s (0.25hz) 0 0 1 0.25 oscin / 131,072 blink period is 2s (0.5hz) 0 1 0 0.5 oscin / 65,536 blink period is 1s (1hz) 0 1 1 1 oscin / 32,768 blink period is a 1/2s (2hz) 1 0 0 2 oscin / 16,384 blink period is a 1/4s (4hz) 1 0 1 4 oscin / 8192 bl i nk p er i od i s an 1/8s ( 8h z) 1 1 0 8 oscin / 4096 bl i nk p er i od i s a 1/32s ( 32h z) 1 1 1 32 oscin / 1024 pwm x x x 1024 oscin / 32 table 10. blink and pwm frequencies
MAX7302 smbus/i 2 c interfaced 9-port, level-translating gpio and led driver with cla 18 ______________________________________________________________________________________ bit logic level function 0 output not cascaded to cla1 d7 1 output cascaded to cla1 0 output noninverted d6 1 output inverted table 13. output p5 configuration register bit function d5 d4 d3 d2 d1 d0 2 input and/or p2 and p3 noninverted 0 0 2 input and/or p2 and p3 inverted 1 0 2 input and/or p2 inverted and p3 0 1 2 input and/or p2 and p3 both inverted 0x1 1 1 1 2 input and/or p2 and p4 noninverted 0 0 2 input and/or p2 and p4 inverted 1 0 2 input and/or p2 inverted and p4 0 1 2 input and/or p2 and p4 both inverted 1 1 0x1 1 2 input and/or p3 and p4 noninverted 0 0 2 input and/or p3 and p4 inverted 0 1 2 input and/or p3 inverted and p4 1 0 2 input and/or p3 and p4 both inverted 1 1 1 1 0x table 12. cla0 (p2?5) configuration register setting (0x28) (continued) register bit function d5 d4 d3 d2 d1 d0 xor noninverted 00 xor p7 inverted 10 xor p6 inverted 01 xor both ports inverted 01x 1 x 1 3 input and/or all noninverted 0 0 0 3 input and/or p6 inverted 0 0 1 3 input and/or p7 inverted 0 1 0 3 input and/or p8 inverted 0 1 1 3 input and/or p6 and p7 inverted 1 0 0 3 input and/or p6 and p8 inverted 1 0 1 3 input and/or p7 and p8 inverted 1 1 0 3 input and/or all inverted 1 1 1 1 1 1 2 input and/or p6 and p7 noninverted 0 0 2 input and/or p6 and p7 inverted 1 0 2 input and/or p6 inverted and p7 0 1 2 input and/or p6 and p7 both inverted 0x1 1 1 1 table 14. cla1 (p6?9) configuration register setting (0x29)
MAX7302 smbus/i 2 c interfaced 9-port, level-translating gpio and led driver with cla ______________________________________________________________________________________ 19 register data register d7?2 d1 d0 cla0 and cla1 configurable logic enable cla1 cla0 ports p2?5 are gpio ports x 0 ports p2?5 are configurable logic cla0 ? 1 ports p6?9 are gpio ports 0 x ports p6?9 are configurable logic cla1 ? x table 16. configurable logic-array enable register (0x70) bit logic level function 0 cascade input noninverted d7 1 cascade input inverted 0 output noninverted d6 1 output inverted table 15. output p9 and cascade p5 input configuration register bit function d5 d4 d3 d2 d1 d0 2 input and/or p6 and p8 noninverted 0 0 2 input and/or p6 and p8 inverted 1 0 2 input and/or p6 inverted and p8 0 1 2 input and/or p6 and p8 both inverted 1 1 0x1 1 2 input and/or p7 and p8 noninverted 0 0 2 input and/or p7 and p8 inverted 0 1 2 input and/or p7 inverted and p8 1 0 2 input and/or p7 and p8 both inverted 1 1 1 1 0x table 14. cla1 (p6?9) configuration register setting (0x29)(continued) register data register d7?2 d1 d0 cla0 and cla1 configurable logic lock cla1 cla0 cla0 is not locked x 0 cla0 is locked x 1 cla1 is not locked 0 x cla1 is locked 1 x table 17. configurable logic-array lock register (0x71)
MAX7302 smbus/i 2 c interfaced 9-port, level-translating gpio and led driver with cla 20 ______________________________________________________________________________________ register bit description value function d7 don? care x don? care. 0 refers inputs to the vl supply voltage; sets outputs to open drain. d6 port supply reference 1 refers inputs to the v dd supply voltage; sets outputs to push-pull. 0 disables the transition interrupt. d5 transition interrupt enable 1 enables the transition interrupt. d4 transition detection bit 1 0 detects the next transition on the port input. d3 transition detection bit 0 0 detects the next transition on the port input. 0 disables debouncing of the input port. d2 debounce 1 enables debouncing of the input port. 0 no transition has occurred since the last port read. d1 port transition state 1 a transition has occurred since the last port read. 0 port input is logic-low. d0 port status 1 port input is logic-high. table 18. port i/o registers (i/o port 5 and 9 configured as cla outputs, registers 0x05 and 0x09) configurable logic array (cla) the cla configures groups of four ports as either a combinational logic gate up to three inputs, or a two input exclusive or/nor gate (see tables 12-15). eight-port dual groups can be cascaded to form a two-level gate with the intermediate term brought out as an output or not, as desired. if fewer than three gate inputs are needed, the unused cla input(s) (which can be any combination of the three cla inputs) remain available as independent gpio ports (see figure 8). use the configurable logic-array enable register (see table 16) to enable ports as clas. use the configurable logic-array lock register (see table 17) to permanently lock in any logic-array combination of clas until the next power cycle. setting d0 and d1 to logic- high in the configurable logic-array lock register locks the corresponding bit position in the configurable logic-array enable register. additionally, the appropriate cla_ regis- ter (addresses 0x28 and 0x29) cannot be changed. the configurable logic-array lock register is unlocked on power-up, or by rst when configured by the rstpor bit in the configure register. each lock bit can only be written to once per power cycle. a cla? input(s) and output can be read through the serial interface like a normal input port. the MAX7302 creates a gate that provides an independent real-time logic function, and every node of it can be examined through the i 2 c interface with optional debounce and transition detection. setting bits d0 and d1 to logic-high enables the cla functionality and sets ports p5 and p9 as cla outputs (see table 16). when in cla mode, the port i/o regis- ter data is interpreted differently for cla output ports (see table 18). bit d7 that normally selects the port direction is ignored because either port p5 or p9 is always an output. bit d6 sets both the cla output type (push-pull or open drain) and the logic threshold for reading the cla output status back through the i 2 c interface. the other bits set the readback options, such as debounce and transition detection interrupt.
MAX7302 smbus/i 2 c interfaced 9-port, level-translating gpio and led driver with cla ______________________________________________________________________________________ 21 enable p3 invert p9 enable p4 invert p8 enable p2 invert p2 enable p8 invert p4 enable p7 invert p5 enable p6 invert p6 p5 is cla/gpio invert p3 enable p5 cascade invert p5 cascade p5 output register pin p7 pin p2 pin p3 pin p4 pin p5 pin p6 pin p8 p9 is cla/gpio invert p7 p9 output register pin p9 enable exor23 enable exor67 enable exor23 = /d5 * d4 in cla register 0x28 enable exor67 = /d5 * d4 in cla register 0x29 p2?5 [cla0] p6?9 [cla1] debounce transition detection debounce transition detection debounce transition detection debounce transition detection debounce transition detection debounce transition detection figure 8. configurable logic-array structure p2 p3 p4 p7 p9 example 1: register 0x28: data value 8?1011_1110 register 0x29: data value 8?0000_1100 example 2: register 0x28: data value 8?0010_0011 register 0x29: data value 8?0011_1101 example 3: register 0x28: data value 8?1001_1011 register 0x29: data value 8?1101_1010 example 4: register 0x28: data value 8?0101_1010 register 0x29: data value 8?0001_1010 example 5: register 0x28: data value 8?1110_1111 register 0x29: data value 8?0101_1010 p2 p3 p4 p5 p4 p2 p5 p3 p2 p6 p7 p9 p8 p7 p9 p6 p7 p9 p3 p5 p2 p6 p7 p9 figure 9. configurable logic examples
MAX7302 smbus/i 2 c interfaced 9-port, level-translating gpio and led driver with cla 22 ______________________________________________________________________________________ serial interface serial-addressing the MAX7302 operates as a slave that sends and receives data through an i 2 c-compatible, 2-wire inter- face. the interface uses a serial-data line (sda) and a serial-clock line (scl) to achieve bidirectional commu- nication between master(s) and slave(s). a master (typ- ically a microcontroller) initiates all data transfers to and from the MAX7302 and generates the scl clock that synchronizes the data transfer (see figure 10). the MAX7302 sda line operates as both an input and an open-drain output. a 4.7k ? (typ) pullup resistor is required on sda. the MAX7302 scl line operates only as an input. a 4.7k ? (typ) pullup resistor is required on scl if there are multiple masters on the 2-wire inter- face, or if the master in a single-master system has an open-drain scl output. each transmission consists of a start condition (see figure 11) sent by a master, followed by the MAX7302 7-bit slave address plus r/ w bit, a register address byte, one or more data bytes, and finally a stop condition (see figure 11). start and stop conditions both scl and sda remain high when the interface is not busy. a master signals the beginning of a transmis- sion with a start (s) condition by transitioning sda from high to low while scl is high. when the master has finished communicating with the slave, it issues a stop (p) condition by transitioning sda from low to high while scl is high. the bus is then free for another transmission (see figure 11). bit transfer one data bit is transferred during each clock pulse. the data on sda must remain stable while scl is high (see figure 12). scl sda t r t f t buf start condition stop condition repeated start condition start condition t su,sto t hd,sta t su,sta t hd,dat t su,dat t low t high t hd,sta reset t wl(rst) figure 10. 2-wire serial interface timing details sda scl start condition stop condition sp figure 11. start and stop conditions sda scl data line stable; data valid change of data allowed figure 12. bit transfer
MAX7302 smbus/i 2 c interfaced 9-port, level-translating gpio and led driver with cla ______________________________________________________________________________________ 23 acknowledge the acknowledge bit is a clocked 9th bit that the recipi- ent uses to handshake receipt of each byte of data (see figure 13). thus, each effectively transferred byte requires 9 bits. the master generates the 9th clock pulse, and the recipient pulls down sda during the acknowledge clock pulse, such that the sda line is sta- ble low during the high period of the clock pulse. when the master is transmitting to the MAX7302, the MAX7302 generates the acknowledge bit because the MAX7302 is the recipient. when the MAX7302 is transmitting to the master, the master generates the acknowledge bit because the master is the recipient. the slave address the MAX7302 has a 7-bit long slave address (figure 14). the 8th bit following the 7-bit slave address is the r/ w bit. set r/ w bit low for a write command and high for a read command. the first 5 bits of the MAX7302 slave address (a6?2) are always 1, 0, 0, 1, and 1. slave address bit a1, a0 is selected by the address input ad0. ad0 can be con- nected to gnd, v dd , sda, or scl. the MAX7302 has four possible slave addresses (see table 5), and there- fore, a maximum of four MAX7302 devices can be con- trolled independently from the same interface. message format for writing to the MAX7302 a write to the MAX7302 comprises the transmission of the MAX7302? slave address with the r/ w bit set to zero, fol- lowed by at least 1 byte of information (see figure 16). the first byte of information is the command byte. the command byte determines which register of the MAX7302 is to be written to by the next byte, if received. if a stop condition is detected after the command byte is received, the MAX7302 takes no further action beyond storing the command byte (see figure 15). any bytes received after the command byte are data bytes. the first data byte goes into the internal register of the MAX7302 selected by the command byte (see figure 16). if multiple data bytes are transmitted before a stop condition is detected, these bytes are generally stored in subsequent MAX7302 internal registers because the command byte address autoincrements (see table 3). message format for reading the MAX7302 is read using the MAX7302? internally stored command byte as an address pointer the same way the stored command byte is used as an address pointer for a write. the pointer autoincrements after each data byte is read using the same rules as for a write. thus, a read is initiated by first configuring the MAX7302? command byte by performing a write (figure 15). the master can now read n consecutive bytes from the MAX7302 with the first data byte being read from the register addressed by the initialized com- mand byte (see figure 17). when performing read- after-write verification, remember to reset the command byte? address because the stored command byte address has been autoincremented after the write. scl sda by transmitter clock pulse for acknowledge start condition sda by receiver 12 89 s figure 13. acknowledge sda scl 0 r/w msb lsb ack a1 1 0a0 11 figure 14. slave address saa p 0 slave address register address acknowledge from MAX7302 d15 d14 d13 d12 d11 d10 d9 d8 acknowledge from MAX7302 r/w figure 15. register address received
MAX7302 smbus/i 2 c interfaced 9-port, level-translating gpio and led driver with cla 24 ______________________________________________________________________________________ operation with multiple masters if the MAX7302 is operated on a 2-wire interface with multiple masters, a master reading the MAX7302 should use a repeated start between the write that sets the MAX7302? address pointer, and the read(s) that takes the data from the location(s). this is because it is possible for master 2 to take over the bus after master 1 has set up the MAX7302? address pointer, but before master 1 has read the data. if master 2 subse- quently changes the MAX7302? address pointer, then master 1? delayed read can be from an unexpected location. bus timeout clear device configuration register 0x27 bit d7 to enable the bus timeout function (see table 4), or set it to disable the bus timeout function. enabling the time- out feature resets the MAX7302 serial-bus interface when scl stops either high or low during a read or write. if either scl or sda is low for more than nominal- ly 31ms after the start of a valid serial transfer, the inter- face resets itself and sets up sda as an input. the MAX7302 then waits for another start condition. 1 2 3 4 5 6 7 8 9 s 1 0 0 1 1 a1 a0 0 a 0 0 0 0 0 1 0 0 a a p t ppv slave address command byte msb data lsb scl sda p9 to p1 start condition r/w data valid a acknowledge from slave acknowledge from slave acknowledge stop write to output ports registers (p4) figure 16. write to output port registers 1 2 3 4 5 6 7 8 9 s 1 0 0 1 1 a1 a0 1 a a scl sda p9 to p1 data1 t ph t psu data2 data3 data4 na p no acknowledge start condition stop read from input ports registers r/w acknowledge from slave msb data1 lsb msb data4 lsb acknowledge from master figure 17. read from input port registers 1 2 3 4 5 6 7 8 9 s 1 0 0 1 1 a1 a0 1 a a msb data2 lsb scl sda p9 to p1 data1 t iv t iv t ir t ir data2 na p start condition stop data3 int interrupt valid/reset r/w acknowledge from slave acknowledge from master msb data3 lsb no acknowledge figure 18. interrupt and reset timing
MAX7302 smbus/i 2 c interfaced 9-port, level-translating gpio and led driver with cla ______________________________________________________________________________________ 25 applications information hot insertion serial interfaces sda, scl, and ad0 remain high impedance with up to 6v asserted on them when the MAX7302 is powered down (v dd = 0v) independent of the voltages on the port supply v la . when v dd = 0v, or if v dd falls below the MAX7302? reset threshold, all i/o ports become high impedance. the ports remain high impedance to signals between 0v and the port supply v la . if a signal outside this range is applied to a port, the port? protection diodes clamp the input signal to v la or 0v, as appropriate. if supply v la is lower than the input signal, the port pulls up v la and the protec- tion diode effectively powers any load on v la from the input signal. this behavior is safe if the current through each protection diode is limited to 10ma. if it is important that i/o ports remain high impedance when all the supplies are powered down, including the port supply v la , then ensure that there is no direct or parasitic path for MAX7302 input signals to drive current into either the regulator providing v la or other circuits powered from v la . one simple way to achieve this is with a series small-signal schottky diode, such as the bat54, between the port supply and the v la input. output level translation the open-drain output configuration of the ports allows them to level translate the outputs to lower (but not higher) voltages than the v la supply. an external pullup resistor converts the high-impedance, logic-high condition to a positive voltage level. connect the resis- tor to any voltage up to v la . for interfacing cmos inputs, a pullup resistor value of 220k ? is a good start- ing point. use a lower resistance to improve noise immunity, in applications where power consumption is less critical, or where a faster rise time is needed for a given capacitive load. driving led loads when driving leds, use a resistor in series with the led to limit the led current to no more than 25ma. choose the resistor value according to the following formula: r led = (v supply - v led - v ol ) / i led where: r led is the resistance of the resistor in series with the led ( ? ) v supply is the supply voltage used to drive the led (v) v led is the forward voltage of the led (v) v ol is the output low voltage of the MAX7302 when sinking i led (v) i led is the desired operating current of the led (a). for example, to operate a 2.2v red led at 20ma from a 5v supply, r led = (5 - 2.2 - 0.8) / 0.020 = 100 ? . driving load currents higher than 25ma the MAX7302 can sink current from loads drawing more than 25ma by sharing the load across multiple ports configured as open-drain outputs. use at least one output per 25ma of load current; for example, drive a 90ma white led with four ports. the register structure of the MAX7302 allows only one port to be manipulated at a time. do not connect ports directly in parallel because multiple ports cannot be switched high or low at the same time, which is neces- sary to share a load safely. multiple ports can drive high-current leds because each port can use its own external current-limiting resistor to set that port? cur- rent through the led. the exceptions to this paralleling rule are the four ports, p2?5, and the four ports, p6?9. these groups of four ports can be programmed simultaneously through the pseudoregisters 0x3c and 0x3d, respectively. a write access to 0x3c writes the same data to registers 0x02 through 0x05. a write access to 0x3d writes the same data to registers 0x06 through 0x09. either of these groups of four ports can be paralleled to drive a load up to 100ma. power-supply considerations the MAX7302 operates with a v dd power-supply voltage of 1.62v to 3.6v. bypass v dd to gnd with a 0.047? capacitor as close as possible to the device. the port supply v la is connected to a supply voltage between 1.62v to 5.5v and bypassed with a 0.1? capacitor as close as possible to the device. the v dd supply and port supply are independent and can be connected to differ- ent voltages or the same supply as required. power supplies v dd and v la can be sequenced in either order or together.
MAX7302 smbus/i 2 c interfaced 9-port, level-translating gpio and led driver with cla 26 ______________________________________________________________________________________ rst p1/int rst p1/int 16 15 14 13 12 11 10 9 1 2 3 4 5 6 7 8 v la v dd sda scl p9 p8 p7 gnd p6 MAX7302 qsop ado p3/oscout p2/oscin p4 p5 15 16 14 13 5 6 7 p2/oscin p3/oscout 8 p8 p7 scl 13 v dd 4 12 10 9 v la ad0 gnd p6 *ep *ep = exposed pad. p5 p4 MAX7302 p9 2 11 sda tqfn top view + + pin configurations chip information process: bicmos
MAX7302 smbus/i 2 c interfaced 9-port, level-translating gpio and led driver with cla ______________________________________________________________________________________ 27 package information (the package drawing(s) in this data sheet may not reflect the most current specifications. for the latest package outline info rmation, go to www.maxim-ic.com/packages .) qsop.eps f 1 1 21-0055 package outline, qsop .150", .025" lead pitch
MAX7302 smbus/i 2 c interfaced 9-port, level-translating gpio and led driver with cla 28 ______________________________________________________________________________________ package information (continued) (the package drawing(s) in this data sheet may not reflect the most current specifications. for the latest package outline info rmation, go to www.maxim-ic.com/packages .) 12x16l qfn thin.eps 0.10 c 0.08 c 0.10 m c a b d d/2 e/2 e a1 a2 a e2 e2/2 l k e (nd - 1) x e (ne - 1) x e d2 d2/2 b l e l c l e c l l c l c package outline 21-0136 2 1 i 8, 12, 16l thin qfn, 3x3x0.8mm marking aaaa
MAX7302 smbus/i 2 c interfaced 9-port, level-translating gpio and led driver with cla maxim cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a maxim product. no circu it patent licenses are implied. maxim reserves the right to change the circuitry and specifications without notice at any time. maxim integrated products, 120 san gabriel drive, sunnyvale, ca 94086 408-737-7600 ____________________ 29 2007 maxim integrated products is a registered trademark of maxim integrated products, inc. package information (continued) (the package drawing(s) in this data sheet may not reflect the most current specifications. for the latest package outline info rmation, go to www.maxim-ic.com/packages .) exposed pad variations codes pkg. t1233-1 min. 0.95 nom. 1.10 d2 nom. 1.10 max. 1.25 min. 0.95 max. 1.25 e2 12 n k a2 0.25 ne a1 nd 0 0.20 ref - - 3 0.02 3 0.05 l e e 0.45 2.90 b d a 0.20 2.90 0.70 0.50 bsc. 0.55 3.00 0.65 3.10 0.25 3.00 0.75 0.30 3.10 0.80 16 0.20 ref 0.25 - 0 4 0.02 4 - 0.05 0.50 bsc. 0.30 2.90 0.40 3.00 0.20 2.90 0.70 0.25 3.00 0.75 3.10 0.50 0.80 3.10 0.30 pkg ref. min. 12l 3x3 nom. max. nom. 16l 3x3 min. max. 0.35 x 45 pin id jedec weed-1 t1233- 3 1.10 1.25 0.95 1.10 0.35 x 45 1.25 weed-1 0.95 t1633f-3 0.65 t1633-4 0.95 0.80 0.95 0.65 0.80 1.10 1.25 0.95 1.10 0.225 x 45 0.95 weed-2 0.35 x 45 1.25 weed-2 t1633-2 0.95 1.10 1.25 0.95 1.10 0.35 x 45 1.25 weed-2 package outline 21-0136 2 2 i 8, 12, 16l thin qfn, 3x3x0.8mm weed-1 1.25 1.10 0.95 0.35 x 45 1.25 1.10 0.95 t1233-4 t1633fh-3 0.65 0.80 0.95 0.225 x 45 0.65 0.80 0.95 weed-2 notes: 1. dimensioning & tolerancing conform to asme y14.5m-1994. 2. all dimensions are in millimeters. angles are in degrees. 3. n is the total number of terminals. 4. the terminal #1 identifier and terminal numbering convention shall conform to jesd 95-1 spp-012. details of terminal #1 identifier are optional, but must be located within the zone indicated. the terminal #1 identifier may be either a mold or marked feature. 5. dimension b applies to metallized terminal and is measured between 0.20 mm and 0.25 mm from terminal tip. 6. nd and ne refer to the number of terminals on each d and e side respectively. 7. depopulation is possible in a symmetrical fashion. 8. coplanarity applies to the exposed heat sink slug as well as the terminals. 9. drawing conforms to jedec mo220 revision c. 10. marking is for package orientation reference only. 11. number of leads shown are for reference only. 12. warpage not to exceed 0.10mm. 0.25 0.30 0.35 2 0.25 0 0.20 ref - - 0.02 0.05 0.35 8 2 0.55 0.75 2.90 2.90 3.00 3.10 0.65 bsc. 3.00 3.10 8l 3x3 min. 0.70 0.75 0.80 nom. m ax. tq833-1 1.25 0.25 0.70 0.35 x 45 weec 1.25 0.70 0.25 t1633-5 0.95 1.10 1.25 0.35 x 45 weed-2 0.95 1.10 1.25


▲Up To Search▲   

 
Price & Availability of MAX7302

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X